//
//  HaveTReportTableViewController.m
//  Love trial1。0
//
//  Created by giantumbrella on 15/6/2.
//  Copyright (c) 2015年 赵娟. All rights reserved.
//

#import "HaveTReportTableViewController.h"
#import "CommonMacro.h"
@interface HaveTReportTableViewController ()

@end

@implementation HaveTReportTableViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"试用报告详情";
    self.view.backgroundColor = [UIColor whiteColor];
    [self createView];
}

#pragma mark 创建界面
- (void)createView
{
    CGFloat Y = 64+2;
    UIView *topView = [[UIView alloc] initWithFrame:CGRectMake(10,Y , SCREEN_WIDTH-20, 60)];
    topView.backgroundColor = [UIColor greenColor];
    [self.view addSubview:topView];
    
    UIView *textView = [[UIView alloc] initWithFrame:CGRectMake(10, topView.frame.size.height+Y, SCREEN_WIDTH-20, 320)];
    textView.backgroundColor = [UIColor redColor];
    [self.view addSubview:textView];
    
#pragma mark 添加照片的地方
    UIView *pictureView= [[UIView alloc] initWithFrame:CGRectMake(10, SCREEN_HEIGHT-190, SCREEN_WIDTH-20, 140)];
    pictureView.backgroundColor = [UIColor greenColor];
    [self.view addSubview:pictureView];
    
    UILabel *timeLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, SCREEN_HEIGHT-30, SCREEN_WIDTH/2-100, 30)];
    timeLabel.backgroundColor = [UIColor greenColor];
    timeLabel.text = @"2小时";
    [self.view addSubview:timeLabel];
    
    UILabel *resultLabel = [[UILabel alloc] initWithFrame:CGRectMake(SCREEN_WIDTH/2+50, SCREEN_HEIGHT-30,  SCREEN_WIDTH/2-40, 30)];
    resultLabel.backgroundColor = [UIColor greenColor];
    resultLabel.text = @"优秀报告";
    [self.view addSubview:resultLabel];
}
@end
